@import '@/app/styles/variables';

.block {
  background-color: #316cf4;
  color: #fff;
}

.descr {
  margin-top: 15px;
  margin-bottom: 22px;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 22px 24px 16px;
}

.accordeon {
  width: 100%;

  color: #000;
  padding: 6px;
  border-radius: 20px;
  background-color: #fff;
  cursor: pointer;

  &:first-child {
    margin-bottom: 20px;
  }
}

.header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  width: 32px;
  height: 32px;
}

.headerText {
  display: flex;
  flex-direction: column;

  & > span:first-child {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
  }

  & > span:last-child {
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
  }
}

.content {
  display: none;
  background-color: #fff;
  border-radius: 20px;
  padding: 20px 25px;
}

.item {
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.active {
  &.accordeon {
    background-color: #b5ff6a;
  }

  .content {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

.grey {
  color: #ababab;
}

.blue {
  color: #316cf4;
}

@include media-min(sm) {
  .header {
    gap: 16px;
  }

  .icon {
    width: 36px;
    height: 36px;
  }

  .headerText {
    & > span:first-child {
      font-size: 20px;
      line-height: 26px;
    }
  }

  .item {
    font-size: 20px;
    line-height: 30px;
  }
}

@include media-min(md) {
  .descr {
    margin-top: 20px;
    margin-bottom: 44px;
  }

  .flex {
    padding: 35px 30px;
  }

  .header {
    gap: 40px;
  }

  .icon {
    width: 48px;
    height: 48px;
  }

  .headerText {
    & > span:first-child {
      font-size: 24px;
      line-height: 32px;
    }

    & > span:last-child {
      font-size: 17px;
      line-height: 21px;
    }
  }

  .content {
    padding: 24px 30px;
  }
}
